<div class="bg-light lter b-b wrapper-sm">
	<h1 class="m-n font-thin h4">编辑账户信息</h1>
</div>
<div class="wrapper-sm">
	<uib-tabset active="3" class="tab-container" ng-init="steps={percent:20, step1:false, step2:false, step3:true, step4:false, step5:false}">
		<uib-tab heading="基本信息" active="steps.step1" select="steps.percent=20" ui-sref="app.carrier.carrierManagentEdit"></uib-tab>
		<uib-tab heading="资质信息" active="steps.step2" disabled="step1.$invalid" select="steps.percent=35" ui-sref="app.carrier.carrierAttachment"></uib-tab>
		<uib-tab heading="账户信息" index="3" active="steps.step3" disabled="step2.$invalid" select="steps.percent=55" ui-sref="app.carrier.carrierBankEdit">
			<form name="step3" class="form-horizontal form-validation" novalidate>
				<uib-progressbar value="steps.percent" class="progress-xs" type="success"></uib-progressbar>
				<div class="wrapper-sm" ng-controller="carrierBankCardManagentController">
					<div class="panel panel-default">
						<div class="panel-heading font-bold"></div>
						<div class="panel-body">
							<label class="control-label pull-left m-l m-r ">持卡人姓名</label>
							<div class="col-md-2 form-group">
								<input id="carrierBankCard_holder" type="text" class="form-control input-sm" ng-model="detail.holder" required placeholder="请填写持卡人姓名" name="holder">
							</div>
							<label class="control-label pull-left m-l m-r ">银行卡号</label>
							<div class="col-md-3 form-group">
								<input id="carrierBankCard_cardNumber" type="text" class="form-control input-sm" ng-change="getBankName()" ng-model="detail.cardNumber" required placeholder="请填写银行卡号" name="cardNumber" ng-pattern="/^\d{16}|\d{19}$/">
							</div>
							<label class="control-label pull-left m-l m-r ">开户银行</label>
							<div class="col-md-3 form-group">
								<input id="carrierBankCard_bankName" type="text" class="form-control input-sm" ng-disabled="bankDis" ng-model="detail.bankName" required placeholder="请填写开户银行" name="bankName">
							</div>
							<label class="control-label pull-left m-l m-r"></label>
							<button id="carrierBankCard_add" class="btn m-b-xs btn-sm btn-info btn-addon " ng-disabled="step3.$invalid" ng-click="addBankCard()"><i class="fa fa-plus"></i>添加</button>

						</div>
					</div>
					<div class="panel panel-default">
						<div class="panel-heading">
							账户列表
						</div>
						<div class="table-responsive">
							<div ui-grid="gridOptions" ui-grid-pagination ui-grid-auto-resize>
								<div class="watermark" ng-if="!gridOptions.data.length">暂无数据</div>
							</div>
						</div>
					</div>
				</div>
			</form>
		</uib-tab>
		<uib-tab heading="主营线路" active="steps.step4" disabled="false" select="steps.percent=75" ui-sref="app.carrier.carrierRouteManagent"></uib-tab>
		<!--<uib-tab heading="所属车辆" active="steps.step5" disabled="step4.$invalid" select="steps.percent=100" ui-sref="app.carrier.carrieCarEdit"></uib-tab>-->
	</uib-tabset>
</div>